package com.luck.service;

import com.luck.api.UserClassManager;
import com.luck.dao.UserClassMapper;
import com.luck.model.po.UserClass;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Hua wb on 2018/12/27.
 */
@Service
public class UserClassService implements UserClassManager {
    @Autowired
    private UserClassMapper userClassMapper;
    @Override
    public List<UserClass> getListUserClass(Integer userId) {
        return userClassMapper.getListUserClassByUserId(userId);
    }
}
